package com.abe.mvp.view.activity;

import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.ViewInject;

import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.widget.ProgressBar;

import com.abe.mvp.view.activity.base.BaseActivity;
import com.abe.strengthtrainer.R;
import com.abe.utils.NormalUtils;
import com.abe.view.MoveAnimCurveView.CurveControl;

@SuppressWarnings("unused")
@ContentView(R.layout.activity_test_2)
public class Test2Activity extends BaseActivity {

	
	@ViewInject(R.id.show_exercise_progress)
	protected ProgressBar show_exercise_progress;
	

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		show_exercise_progress.setProgress(50);
	}


	protected void localCustomSendEmptyMessage(int what) {
		new CustomHander(Looper.getMainLooper()).sendEmptyMessage(what);
	}

	protected void localCustomSendMessage(int what, Object object) {
		new CustomHander(Looper.getMainLooper()).sendMessage(NormalUtils
				.getMessage(what, object));
	}

	class CustomHander extends Handler {
		public CustomHander(Looper looper) {
			super(looper);
		}

		public void handleMessage(Message msg) {
			switch (msg.what) {
			
			}
		}
	}
}
